﻿using SqlSugar;

namespace HiSportApplet.Core.Entity.Bas
{  /// <summary>
   /// 场馆
   /// </summary>
    [SugarTable(null, "场馆")]
    public class BasVenues : EntityBase
    {

        /// <summary>
        /// 租户Id
        /// </summary>
        [SugarColumn(ColumnDescription = "租户Id")]
        public  long TenantId { get; set; }

        /// <summary>
        /// 机构ID
        /// </summary>
        [SugarColumn(ColumnDescription = "创建者部门Id", DefaultValue = "0", IsNullable = false)]
        public long CreateOrgId { get; set; }

        /// <summary>
        /// 场馆编码
        /// </summary>
        [SugarColumn(ColumnDescription = "场馆编码", DefaultValue = "", IsNullable = false, Length = 50)]
        public string VenuesCode { get; set; }

        /// <summary>
        /// 场馆名称
        /// </summary>
        [SugarColumn(ColumnDescription = "场馆名称", DefaultValue = "", IsNullable = false, Length = 50)]
        public string VenuesName { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        [SugarColumn(ColumnDescription = "联系人", DefaultValue = "", IsNullable = false, Length = 50)]
        public string ContactPerson { get; set; }

        /// <summary>
        /// 移动电话
        /// </summary>
        [SugarColumn(ColumnDescription = "移动电话", DefaultValue = "", IsNullable = false, Length = 50)]
        public string Mobile { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        [SugarColumn(ColumnDescription = "电话", DefaultValue = "", IsNullable = false, Length = 50)]
        public string Phone { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        [SugarColumn(ColumnDescription = "省", DefaultValue = "", IsNullable = false, Length = 20)]
        public string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        [SugarColumn(ColumnDescription = "市", DefaultValue = "", IsNullable = false, Length = 20)]
        public string City { get; set; }


        /// <summary>
        /// 区
        /// </summary>
        [SugarColumn(ColumnDescription = "区", DefaultValue = "", IsNullable = false, Length = 20)]
        public string Area { get; set; }


        /// <summary>
        /// 详细地址
        /// </summary>
        [SugarColumn(ColumnDescription = "详细地址", DefaultValue = "", IsNullable = false, Length = 200)]
        public string Address { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        [SugarColumn(ColumnDescription = "经度", DefaultValue = "", IsNullable = false, Length = 50)]
        public string Longitude { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        [SugarColumn(ColumnDescription = "纬度", DefaultValue = "", IsNullable = false, Length = 50)]
        public string Latitude { get; set; }



        /// <summary>
        /// 营业时间-开始时间
        /// </summary>
        [SugarColumn(ColumnDescription = "营业时间-开始时间", IsNullable = false)]
        public DateTime TimeStart { get; set; }

        /// <summary>
        /// 营业时间-结束时间
        /// </summary>
        [SugarColumn(ColumnDescription = "营业时间-结束时间", IsNullable = false)]
        public DateTime TimeEnd { get; set; }

        /// <summary>
        /// 场地起订时间的值默认分钟
        /// </summary>
        [SugarColumn(ColumnDescription = "场地起订时间的值(分钟)", DefaultValue = "0", IsNullable = false)]
        public int TimeValue { get; set; }

        /// <summary>
        /// 营业状态-数据字典值
        /// 对应字典值BAS_OperatingStatus
        /// </summary>
        [SugarColumn(ColumnDescription = "营业状态", DefaultValue = "", IsNullable = false, Length = 50)]
        public string OperatingStatus { get; set; }

        /// <summary>
        /// 场馆介绍
        /// </summary>
        [SugarColumn(ColumnDescription = "场馆介绍", DefaultValue = "", IsNullable = false)]
        public string Describe { get; set; }

        /// <summary>
        /// 状态(0停用；1启用；)
        /// </summary>
        [SugarColumn(ColumnDescription = "状态(0停用；1启用)", DefaultValue = "0", IsNullable = false)]
        public short Status { get; set; }


    }

}